package com.mistyrain.service;

import com.mistyrain.entity.User;
import com.mistyrain.entity.UserVO;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

public interface UserService {
    public UserVO findAll(@RequestParam("page") int page, @RequestParam("limit") int limit);
    public String save(User user);
    public String deleteById(@PathVariable("id") long id);
}
